package com.zxx.ssm.service;

import com.zxx.ssm.dao.Teacher;
import com.zxx.ssm.dao.TeacherExample;
import com.zxx.ssm.mapper.TeacherMapper;
import com.zxx.ssm.model.biz.TeacherBiz;
import com.zxx.ssm.service.core.ITeacherService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TeacherService extends AbstractService<Teacher, TeacherExample, Integer, TeacherMapper> implements ITeacherService{
    public TeacherService(TeacherMapper teacherMapper){
        super(teacherMapper);
    }

    public List<TeacherBiz> getTeaList(String username) {
        return this.baseMapper.getTeaList(username);
    }
}
